function [ output] = ClassifyTestSamples(trainX, trainY, testX, testY, classifier)
%CLASSIFYTESTSAMPLES Summary of this function goes here
%   Detailed explanation goes here

if strcmp(classifier,'svm')
    
    % 1-v-1 multiclass SVM 
    %model1 = svmtrain(trainY, trainX, '-t 2 -r 3 -q -b 1 -c 0.25 -g 0.2');
    model1 = svmtrain(trainY, trainX, '-t 2 -r 3 -q -b 1 -c 0.25 -g 0.2');
    [predictions,~,probability_estimates] = svmpredict(testY, testX, model1, '-b 1');
    output = probability_estimates;
    
elseif strcmp(classifier,'knn')
    
    [idx, D] = knnsearch(trainX,testX);
    
 
end




end

